import request from '@/utils/request'

// 查询基金清算模板列表
export function listFundLiquidationTemplate(query) {
  return request({
    url: '/liquidationtemplate/fundLiquidationTemplate/list',
    method: 'get',
    params: query
  })
}

// 查询基金清算模板详细
export function getFundLiquidationTemplate(id) {
  return request({
    url: '/liquidationtemplate/fundLiquidationTemplate/' + id,
    method: 'get'
  })
}

// 保存基金清算模板
export function saveFundLiquidationTemplate(data) {
  return request({
    url: '/liquidationtemplate/fundLiquidationTemplate/save',
    method: 'post',
    data: data
  })
}

// 删除基金清算模板
export function delFundLiquidationTemplate(id) {
  return request({
    url: '/liquidationtemplate/fundLiquidationTemplate/' + id,
    method: 'delete'
  })
}

// 导出基金清算模板
export function exportFundLiquidationTemplate(query) {
  return request({
    url: '/liquidationtemplate/fundLiquidationTemplate/export',
    method: 'get',
    params: query
  })
}

// 初始化基金清算
export function initialization() {
  return request({
    url: '/liquidationtemplate/fundLiquidationTemplate/init',
    method: 'get'
  })
}
